package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.system.api.domain.TOrderMainList;
import com.ruoyi.system.api.factory.RemoteOrderFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 定时服务
 */
@FeignClient(contextId = "RemoteOrderService", value = ServiceNameConstants.ORDER_SERVICE, fallbackFactory = RemoteOrderFallbackFactory.class)
public interface RemoteOrderService {
    /**
     * 新建定时任务
     *
     * @param
     * @return
     */
    @PostMapping(value = "/remind/createMessage")
    public void createMessage(@RequestBody TOrderMainList tOrderMainList);

}

